<netdiscondrive> : Disconnect Network Drive

Disconnects local drive from a network directory.

Syntax: 

<netcondrive>("Drive", Restore)

Drive
Drive you want to map the network directory map to (e.g., "X:").  Keep in mind it must be one letter followed by : .

Restore
Restore at next logon: If 1 the drive will be automatically mapped at next logon.

Example: 

<#> This macro disconnects drive from a network directory.
<#>
<cmds>
<netdiscondrive>("X:", 0)